package com.iacrqq.sedaf.demo.sHttpServer.event;

/**
 * 
 * @author sihai
 *
 */
public enum HttpEventStateEnum
{
	HTTP_EVENT_STATE_ACCEPTED(0, "Accepted connection"),
	HTTP_EVENT_STATE_PARSED(1, "Request parsed"),
	HTTP_EVENT_STATE_PROCESSED(2, "Request processed");
	
	private int value;
	private String desc;
	
	private HttpEventStateEnum(int value, String desc)
	{
		this.value = value;
		this.desc = desc;
	}
	
	public int value()
	{
		return value;
	}
	
	public String desc()
	{
		return desc;
	}
}
